package org.easymodelers.modeler.data;

public class Element {
	private String name;
	private String binding;
	private String containerBinding;
	private ElementLabel label;
	private String shape;

	public String getShape() {
		return shape;
	}

	public void setShape(String shape) {
		this.shape = shape;
	}

	public ElementLabel getLabel() {
		return label;
	}

	public void setLabel(ElementLabel label) {
		this.label = label;
	}

	public String getContainerBindingClassName() {
		return ModelerUtils.getBindingClassName(containerBinding);
	}

	public String getContainerBindingReferenceName() {
		return ModelerUtils.getBindingAttributeName(containerBinding);
	}

	public String getContainerBinding() {
		return containerBinding;
	}

	public void setContainerBinding(String containerBinding) {
		this.containerBinding = containerBinding;
	}

	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getBinding() {
		return binding;
	}
	
	public void setBinding(String binding) {
		this.binding = binding;
	}
}
